package com.woniuxy.service;

import com.woniuxy.controller.form.NewVoteForm;
import com.woniuxy.controller.form.PageAllVoteForm;
import com.woniuxy.model.VoteTopic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhouzhou
 * @since 2022-06-23
 */
public interface VoteTopicService extends IService<VoteTopic> {
    public Result createVote(NewVoteForm newVoteForm) throws Exception;

    Result getAllVote(PageAllVoteForm pageAllVoteForm);
}
